<?php
/* 
Pizza template for payment modules.

Copyright (c) 2010 Ingvar Harjaks <ingvarharjaks@gmail.com>
Copyright (c) 2011 Leone Viru <leone.viru@gmail.com>
All costs of this development were covered by open source fiendy
company BrightSide OÜ <www.brightside.ee>

Pizza is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Pizza is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Pizza. If not, see <http://www.gnu.org/licenses/>.
*/
?>

<form action="<?php echo $action; ?>" method="post" id="payment">
  <input type="hidden" name="VK_SERVICE" value="<?php echo $VK_SERVICE; ?>" />
  <input type="hidden" name="VK_VERSION" value="<?php echo $VK_VERSION; ?>" />
  <input type="hidden" name="VK_SND_ID" value="<?php echo $VK_SND_ID; ?>" />
  <input type="hidden" name="VK_STAMP" value="<?php echo $VK_STAMP; ?>" />
  <input type="hidden" name="VK_AMOUNT" value="<?php echo $VK_AMOUNT; ?>" />
  <input type="hidden" name="VK_CURR" value="<?php echo $VK_CURR; ?>" />
<?php if ($s_id != 1002) { ?>
  <input type="hidden" name="VK_ACC" value="<?php echo $VK_ACC; ?>" />
  <input type="hidden" name="VK_NAME" value="<?php echo $VK_NAME; ?>" />
<?php } ?>
  <input type="hidden" name="VK_REF" value="<?php echo $VK_REF; ?>" />
  <input type="hidden" name="VK_MSG" value="<?php echo $VK_MSG; ?>" />
  <input type="hidden" name="VK_MAC" value="<?php echo $VK_MAC; ?>" />
  <input type="hidden" name="VK_RETURN" value="<?php echo $VK_RETURN; ?>" />
  <input type="hidden" name="VK_LANG" value="<?php echo $VK_LANG; ?>" />
  <?php echo $form_data; ?>
</form>
<div class="buttons">
	<div class="right">
   		<a onclick="$('#payment').submit();" class="button">
			<span><?php echo $button_confirm; ?></span>
	  	</a>
    </div>
</div>